home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / Games / xmris / Imakefile < prev    next >
Makefile  |  1995-06-06  |  1KB  |  35 lines

  1. /**/# I need special include directories for gcc
  2. STD_INCLUDES = 
  3. /**/# select your compiler
  4. CC = cc
  5. /**/#CC = gcc -ansi -pedantic -nostdinc -Wall -Wpointer-arith -Wwrite-strings
  6. /**/#CC = gcc -traditional -nostdinc -Wall -Wpointer-arith -Wwrite-strings
  7. /**/# uncomment and fiddle with the following lines if you want
  8. /**/# default game gender 0 = male, 1 = female
  9. /**/#GENDER = -DGAME_GENDER=1
  10. /**/# frame rate in microseconds
  11. /**/#FRAME = -DFRAME_RATE=37000
  12. /**/# font name
  13. /**/#FONT = -DFONT_NAME="-*-courier-*-r-*-*-18-*-*-*-*-*-*-*"
  14. /**/# do you trust the code?
  15. /**/# NDEBUG = -DNDEBUG
  16. /**/# K&R doesn't have __DATE__ so we supply it here
  17. DATE = -DDATE="\"`date '+%h %d 19%y'`\""
  18. /**/# Allow debugging?
  19. /**/#CDEBUGFLAGS = -g
  20.  
  21. DEFINES = $(DATE) $(GENDER) $(FRAME) $(FONT) $(NDEBUG)
  22. SRCS = apple.c create.c demo.c draw.c monster.c move.c player.c timer.c xmris.c
  23. OBJS = apple.o create.o demo.o draw.o monster.o move.o player.o timer.o xmris.o
  24. LOCAL_LIBRARIES = $(XLIB)
  25.  
  26. ComplexProgramTarget(xmris)
  27.  
  28. all :: xmris xmsit
  29.  
  30. xmsit: xmris
  31.     ln -s xmris xmsit
  32.  
  33. clean ::
  34.     rm -f xmsit
  35.